package com.ssm.zyn.dao;

import com.ssm.zyn.eo.ExamineTestEOpage;
import com.ssm.zyn.model.ExamineTest;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;
/**
 * 操作数据库方法的对接
 */
@Mapper
@Component
public interface ExamineTestMapper {
    //试卷添加
    int insertExamineTest(ExamineTest examineTest);
    //通过名称获取数量
    int getTestNameCount(String testname);
    //通过主键更新
    int updateExaminetest(ExamineTest examineTest);
    //通过主键删除
    int delExamineTest(Integer testid);
    //根据条件获取相关信息
    List<ExamineTestEOpage> getWhereAll(ExamineTestEOpage examineTestEOpage);
}
